package com.sihai.ehr.service;

import com.sihai.core.Limit;
import com.sihai.core.LimitedList;
import com.sihai.core.Sorter;
import com.sihai.ehr.model.biz.TrainClassroom;

/**
 * 员工培训室服务接口
 * 
 * @author henry
 * 
 */
public interface TrainClassroomService {
	/** 获取培训室 */
	TrainClassroom getTrainClassroom(Long id);

	/**
	 * 根据组织结构编号获取培训室列表
	 * 
	 * @param organizationId
	 * @return
	 */
	LimitedList<TrainClassroom> getTrainClassrooms(Long organizationId,
			Limit limit, Sorter sorter);
	/**
	 * 获取有效培训室
	 * @param organizationId
	 * @param limit
	 * @param sorter
	 * @return
	 */
	LimitedList<TrainClassroom> getEffectiveTrainClassrooms(Long organizationId,
			Limit limit, Sorter sorter);

	/** 保存培训室 */
	void save(TrainClassroom trainClassroom);

	/**
	 * 删除培训室
	 * 
	 * @param ids
	 */
	void deleteTrainClassroom(String ids);
}
